from flask import Flask
from flask import render_template
#实验五
app =Flask(__name__,static_url_path='',static_folder='',template_folder='hello')
@app.route("/hello")
@app.route("/hello/<name>")
def hello(name=None):
    return render_template('index.html',name=name)

if __name__=='__main__':
    #调试模式
    app.debug=True
    app.run(host="0.0.0.0",port=80)
